from django.conf.urls.defaults import *

urlpatterns = patterns('myfirstsite.poll.views',
                       (r'^$', 'index'),
                       (r'^(?P<poll_id>\d+)/$', 'detail'),
                       (r'^(?P<poll_id>\d+)/results/$', 'results'),
                       (r'^(?P<poll_id>\d+)/vote/$', 'vote'),
                       )
